projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8024de4
)
(compilation-next-error-locus): Don't decrease argument FIND-AT-LEAST
author
Richard M. Stallman
<rms@gnu.org>
Mon, 1 Feb 1999 10:38:08 +0000
(10:38 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Mon, 1 Feb 1999 10:38:08 +0000
(10:38 +0000)
of compilation-next-error-locus.
lisp/progmodes/compile.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/compile.el
b/lisp/progmodes/compile.el
index bb7b3f2bffa7cc343953b95295e761d5a7e60ffa..87f8cfc5d11ba6811b2d451d7c47f41a75f796d3 100644
(file)
--- a/
lisp/progmodes/compile.el
+++ b/
lisp/progmodes/compile.el
@@
-1428,8
+1428,7
@@
nil instead of raising an error if there are no more errors.
The current buffer should be the desired compilation output buffer."
(or move (setq move 1))
- (compile-reinitialize-errors reparse nil (and (not reparse)
- (if (< move 1) 0 (1- move))))
+ (compile-reinitialize-errors reparse nil (and (not reparse) (max 0 move)))
(let (next-errors next-error)
(catch 'no-next-error
(save-excursion